<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
<script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>

<head>
    <meta charset="UTF-8">
    <title>注册</title>
</head>
<body>

<div class="container " style="height: 800px ;width: 500px" >
    <h2>注册</h2>

    <form th:action="@{/doregister}" method="post">

        <div class="form-group">
            <label for="account">管理员账号</label>
            <input type="text" class="form-control"name="account" id="account" placeholder="管理员账号">
        </div>
        <div class="form-group">
            <label for="password">请输入密码</label>
            <input type="password" class="form-control" name="password" id="password" placeholder="管理员密码">
        </div>
        <div class="form-group">
            <label for="password1">再一次输入密码</label>
            <input type="password" class="form-control" name="password1" id="password1" placeholder="管理员密码">
        </div>

        <button type="submit" class="btn btn-default" >注册</button>
    </form>
    <span style="color: red">[[${false1}]]</span>
    <span style="color: red">[[${fail}]]</span>
    <span style="color: red">[[${empty}]]</span>
</div>
</body>
</html>